package com.example.zhunongzonghe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zn_sort")
public class ZnSort implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 分类表
     */
    @TableId(value = "sort_id", type = IdType.AUTO)
    private Integer sortId;

    /**
     * 分类详情
     */
    @TableField("sort_content")
    private String sortContent;



}
